package cn.wind.xboot.logic.pf.service;

import cn.wind.xboot.logic.pf.entity.PfNotice;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 平台通知 服务类
 * </p>
 *
 * @author xukk
 * @since 2018-08-20
 */
public interface IPfNoticeService extends IService<PfNotice> {
    boolean updateReadFlagById(Long id);
    boolean updateReadFlagByIds(List ids);
    boolean softDelete(List ids);
    IPage<PfNotice> findByDeleteFlag(IPage page, Integer deleteFlag);
    Integer countByDeleteFlag(Integer deleteFlag);
    boolean resume(List ids);
}
